import java.util.Random;

public class Method {
    public static void main(String[] args) {
       arr();
    }
    public static void joio(){
        Random random=new Random();
        int a=random.nextInt(100);
        int b=a%2;
        if(b==0) System.out.println(a+"是偶数！");
        else System.out.println(a+"是奇数");
    }
    public static int sum(int a,int b){
         return a+b;
    }
    public static void arr(){

        int []a1={1,2,3};
        int []a2={4,5,6};
        int [][] arr=new int[2][3];
      /*  arr[0][0]=1;
        arr[0][1]=2;
        arr[0][2]=3;
        arr[1][0]=4;
        arr[1][1]=4;
        arr[1][2]=5;*/
        arr[0]=a1;
        arr[1]=a2;
        for(int a=0;a<2;a++){
            for(int i=0;i<3;i++){
                System.out.println(arr[a][i]);
            }
        }
    }

}
